package com.education.teach.mvp.ui.adapter;

import android.content.Context;
import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.education.teach.R;
import com.education.teach.mvp.model.bean.AddCounselBean;
import com.education.teach.mvp.model.bean.MyClassBean;

import java.util.List;

import dn.easy.common.commonutils.TimeUtil;

public class AddCounselAdapter extends BaseQuickAdapter<AddCounselBean.ResultBean, BaseViewHolder> {
    Context context;

    public AddCounselAdapter(int layoutResId, @Nullable List<AddCounselBean.ResultBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, AddCounselBean.ResultBean resultBean) {
        helper.setText(R.id.className, "班级名称：" + resultBean.getBanjiName())
                .setText(R.id.teacherName, "教师名称：" + resultBean.getJiaoshiName());
    }
}
